package OOP.Extends_test03;

public class Computer {
    private String cpu;
    private int ram;
    private String yingpan;

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public void setRam(int ram) {
        this.ram = ram;
    }

    public void setYingpan(String yingpan) {
        this.yingpan = yingpan;
    }

    public String getDetails() {
        return "CPU: " + cpu + ", ram: " + ram + ", yingpan: " + yingpan;
    }
}
